wayland: Don't abort when preparing the source if connection is lost
authorDebarshi Ray <debarshir@gnome.org>
Wed, 24 May 2017 14:08:07 +0000 (16:08 +0200)
committerDebarshi Ray <debarshir@gnome.org>
Thu, 25 May 2017 09:49:37 +0000 (11:49 +0200)
commit28f8a27d652127b600a6ae1baee3bad5770bfa20
tree94807ff57edf05c17fd9d93a576b945f2cfa278c
parent853cba6b1a1192e2e219fad6f2e2f8f9a7ba731f
wayland: Don't abort when preparing the source if connection is lost

Aborting the application makes it look like an application bug, when
it is the expected thing to do when the Wayland display server goes
way. eg., when the user logs out. The log level is also demoted to
avoid a storm of warnings in the log from all applications whenever
this happens.

This is also what the X11 backend does (see gdk_x_io_error).

https://bugzilla.gnome.org/show_bug.cgi?id=783047
gdk/wayland/gdkeventsource.c